home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / ScrollView / MyObject.h < prev    next >
Text File  |  1995-06-12  |  1KB  |  65 lines

  1.  
  2. /*     Generated by Interface Builder 
  3. **    You may freely copy, distribute and reuse the code in this example.
  4. **    Eric Tremblay disclaims any warranty of any kind, expressed 
  5. **      or implied,as to
  6. **    its fitness for any particular use.
  7. **      July 26, 1992, updated August 7, 1993
  8. */
  9.  
  10. #import <objc/Object.h>
  11. #import <appkit/appkit.h>
  12.  
  13. @interface MyObject:Object
  14. {
  15.     char  *SaveName;
  16.     int   error;
  17.     id theTextLength; /* The display panel of the TextLength box */
  18.     id theByteLength; /* The display panel of the ByteLength box */
  19.     id MyScrollView; /* THE  SCROLLVIEW */
  20.     id document; /* document id variable */
  21.     id setTextInput; /* The input panel for replace all the text box */
  22.     id appendTextInput; /* The input panel for append text at the end */
  23.     id TheWindow; /* The window itself */
  24. }
  25.  
  26. - appDidInit:sender; /* Automatically executes when program starts */
  27.  
  28. /* METHODS */
  29. - textLengthTest:sender;
  30. - selectTextTest:sender;
  31. - byteLengthTest:sender;
  32. - setTextTest:sender;
  33. - appendTextTest:sender;
  34. - checkSpellingTest:sender;
  35.  
  36.  
  37. /* Change the background color */
  38. - backWhite:sender;
  39. - backBlack:sender;
  40. - backLgray:sender;
  41. - backDgray:sender;
  42.  
  43. /* Change the color of the text */
  44. - textWhite:sender;
  45. - textBlack:sender;
  46. - textLgray:sender;
  47. - textDgray:sender;
  48.  
  49. /* Print */
  50. - PrintScroll:sender;
  51. - PrintWindow:sender;
  52.  
  53. - Ruler:sender;
  54.  
  55. /* Alignment */
  56. - Left:sender;
  57. - Right:sender;
  58. - Center:sender;
  59.  
  60. /* File I/O */
  61. - Save:sender;
  62. - Load:sender;
  63.  
  64. @end
  65.